<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0,user-scalable=no"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>爱贝儿医</title>
    <link rel="stylesheet" href="business/style/common.css?<?=版本?>">
    <script src="business/js/jquery.js"></script>
    <script src="app/js/group/groupCard.js"></script>
    <style>
        .ewm-edit .ewm-img #show_erweim img{width:160px;height:160px;}
    </style>
</head>

<body style=" background-color:#FFF; ">
<!--	header begin-->
<div class="header">
    <input type="hidden" class="groupId" value="<?=$群id?>"/>
    <input type="hidden" class="userId" value="<?=$用户id?>"/>
    <input type="hidden" class="openId" value="<?=$openId?>"/>
    <?php
            if($is_group_user){
                echo '<a href="'.$websoke_qun_url.'" class="return">'.$group_detail->data['群名称'].'</a>';

    if($group_detail->data['群主id']==$用户id || $group_detail->data['助手id']==$用户id){

    echo '<a href="'.$update_group_url.'" class="write" style="text-decoration:none; ">编辑群主题</a>';
    }
    }else{
    echo '<div class="header_logo"><img src="business/style/logo_small.png" /><h1>'.$group_detail->data['群名称'].'</h1></div>';
    }
    ?>
</div>
<!--    header end-->
<div class="class-center-con">

    <?php
            if($group_detail->data['成员可拉人']=='否'&& $is_group_user['角色']!='群主' && $is_group_user['角色']!='助手'){
                echo ' <div class="class-center-erweima" style="height: 50px;width: 100%;" ></div>';
} else{?>
<div class="class-center-erweima" onclick="showewm()">
    <img id="erweima" src="" /><span>扫描右侧二维码可加入本群</span>
</div>
<?php }?>

<div class="class-center-view">
    <!-- 默认 文本-->
    <div class="qi-cont">
        <?php if($group_detail->data['主题']){echo $group_detail->data['主题'];}else{
                      echo '爱贝儿医—专注于儿科医生的学习工作交流平台。平台为儿科医生免费提供涵盖儿科各专业的文献指南资讯、临床病例分析、教学视频、专业会议视频等专业知识。在这里，您可以与行业内顶级专家零距离学习讨论互动交流。在这里，您能随时随地进行在线学习、与业内同行互动交流。爱贝儿医—为您高效工作、快速学习、拓展人脉提供贴心服务。';
                         }?>
    </div>

</div>
</div>

<!--footer begin-->
<!--【【【【【如果是爱贝用户则显示，否则不显示】】】】】-->
<div class="class-center-footer"><a href="<?=$websoke_qun_url?>"></a></div>
<!--footer end-->


<!-- 二维码显示 -->
<div class="ewm-edit" id="show_ewm" style="width:100%;height:100%; display:none; position:fixed; left:0; top:0; z-index:999; ">
    <div class="ewm-bg" style=" width:100%; height:100%; opacity:0.5; background-color:#000; "></div>
    <div class="ewm-img" style="width:240px; height:240px; padding:10px 0; background:#fff; overflow:hidden; border-radius:8px; position:absolute; top:50%; left:50%; margin-left:-120px; margin-top:-130px; ">
        <div id="close" style="position:absolute;top:5px;font-size:150%;color:#333;height:20px;width:20px;right:5px;line-height: 18px;text-align: center;" onclick="closeewm()">&times;</div>
        <div class="show-logo" style="width:100%;height:50px;text-align:center;overflow:hidden;">
            <div class="logo1" style="width:30px;height:30px;margin:3px auto;"><img src="business/style/logo_small.png" alt="" width="30px"></div>
            <div class="show-word" style="color:#D23252;height:20px;width:100%;text-align:center;font-size:70%;"><?=$group_detail->data['群名称']?></div>
        </div>
        <div id="show_erweim" style="width:160px;height:160px;text-align:center; padding:10px 40px 0;"><img src="" /></div>
        <div style="width:100%; text-align:center; font-size:60%; color:#999; ">长按识别上面二维码</div>
    </div>
    <div class="clear"></div>
</div>
</body>
</html>



